package han.chensing.latos.common.level.content.objects;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;

import han.chensing.latos.common.level.content.timeLine.events.TimeLineMotionEvent;

public class CommonLine extends CommonObject implements Serializable {
    
    @Serial private static final long serialVersionUID=11451405L;
    private ArrayList<CommonNote> commonNotes;
    private ArrayList<TimeLineMotionEvent> lineEvents;

    public CommonLine(String name){
        super(name);
        this.commonNotes =new ArrayList<>();
        this.lineEvents=new ArrayList<>();
        this.timeLineRow.initializeWithDefaultObjects();
    }

    public ArrayList<CommonNote> getNotes() {
        return commonNotes;
    }

    public void setNotes(ArrayList<CommonNote> commonNotes) {
        this.commonNotes = commonNotes;
    }

    public ArrayList<TimeLineMotionEvent> getLineEvents() {
        return lineEvents;
    }

    public void setLineEvents(ArrayList<TimeLineMotionEvent> lineEvents) {
        this.lineEvents = lineEvents;
    }

    public ArrayList<CommonNote> getCommonNotes() {
        return commonNotes;
    }

    public void setCommonNotes(ArrayList<CommonNote> commonNotes) {
        this.commonNotes = commonNotes;
    }
}
